package com.bxait.toymail.member.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bxait.com.utils.PageUtils;
import com.bxait.com.vo.member.SocialUser;
import com.bxait.com.vo.member.UserLoginVo;
import com.bxait.com.vo.member.UserRegisterVo;
import com.bxait.toymail.member.entity.MemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author chen
 * @email 2277411582@qq.com
 * @date 2023-03-13 22:35:49
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    // 用户登录的验证信息
    MemberEntity login(UserLoginVo vo);

    // 用户注册
    void register(UserRegisterVo vo);

    // 用户社交登录
    MemberEntity oauthLogin(SocialUser socialUser);
}

